<header id="top">
    <div class="wrapper">
        <!-- Title/Logo - can use text instead of image -->
        <div id="title"><img SRC="<?php echo $view['config']['resource_domain'];?>/img/logo.png" alt="Administry"/><!--<span>Administry</span> demo-->
        </div>
        <!-- Top navigation -->
        <div id="topnav">
            <a href="#"><img class="avatar" SRC="<?php echo $view['config']['resource_domain'];?>/img/user_32.png"
                             alt=""/></a>
            Logged in as <b><?php echo $view['session']['credentials']['userName'] ?></a></b>
          <span>|</span> <a href="<?php echo URL_PREFIX ?>/Admin/setting">设置</a>
            <span>|</span> <a href="<?php echo URL_PREFIX ?>/Passport/signout">登出</a><br/>
            <!--  <small>You have <a href="#" class="high"><b>1</b> new message!</a></small>-->
        </div>
        <!-- End of Top navigation -->
        <!-- Main navigation -->
        <nav id="menu">
            <ul class="sf-menu">
                <li <?php if ($view['get']['method'] == 'showIndex') echo "class='current'"; ?> ><a
                        HREF="<?php echo URL_PREFIX ?>/Admin"><?php echo $view['config']['dashBoard'] ?></a></li>
                <li <?php if (in_array($view['get']['method'], array("news", "newsType","comment"))) echo "class='current'"; ?>>
                  <!--  <a HREF="#">新闻管理</a>
                    <ul>-->
                        <li>
                            <a HREF="<?php echo URL_PREFIX ?>/Admin/newsType">分类列表</a>
                        </li>
                        <li>
                            <a HREF="<?php echo URL_PREFIX ?>/Admin/news">新闻列表</a>
                        </li>
                        <li>
                            <a HREF="<?php echo URL_PREFIX ?>/Admin/comment">评论管理</a>
                        </li>
                        <!--<li>
                            <a href="#">Sample Pages...</a>
                            <ul>
                                <li><a HREF="samples-files.html">Files</a></li>
                                <li><a HREF="samples-products.html">Products</a></li>
                            </ul>
                        </li>-->
                  <!--  </ul>
                </li>-->
                <!--<li <?php /*if (in_array($view['get']['method'], array("applications", "users"))) echo "class='current'"; */?>>
                    <a HREF="#">会员中心</a>
                    <ul>-->
                      <!--  <li>
                            <a HREF="<?php /*echo URL_PREFIX */?>/Admin/applications">报名管理</a>
                            <ul>-->
                                <li><a HREF="<?php echo URL_PREFIX ?>/Admin/applications?action=wait">待审核</a></li>
                                <li><a HREF="<?php echo URL_PREFIX ?>/Admin/applications?action=pass">审核成功</a></li>
                                <li><a HREF="<?php echo URL_PREFIX ?>/Admin/applications?action=failure">审核失败</a></li>
                                <li><a HREF="<?php echo URL_PREFIX ?>/Admin/applications">所有报名</a></li>
                       <!--     </ul>
                        </li>-->
                        <li>
                            <a HREF="<?php echo URL_PREFIX ?>/Admin/users">会员管理</a>
                        </li>
                  <!--  </ul>
                </li>-->
                <li <?php if (in_array($view['get']['method'], array('activities', 'activities_this_week'))) echo "class='current'"; ?>>
                    <a HREF="<?php echo URL_PREFIX ?>/Admin/activities">活动管理</a></li>
              <!--  <li  <?php /*if (in_array($view['get']['method'], array('votes'))) echo "class='current'"; */?> ><a
                        HREF="/Admin/votes">投票管理(电影演员海选)</a></li>-->
                <li <?php if (in_array($view['get']['method'], array('setting'))) echo "class='current'";?>><a
                        href="<?php echo URL_PREFIX ?>/Admin/setting">设置</a></li>
            </ul>
        </nav>
        <!-- End of Main navigation -->
        <!-- Aside links -->
        <!--<aside><b>English</b> &middot; <a href="#">Spanish</a> &middot; <a href="#">German</a></aside>-->
        <!-- End of Aside links -->
    </div>
</header>